package duaxe.home.level.tile;

import duaxe.home.Graphics.Screen;
import duaxe.home.Graphics.Sprite;
import duaxe.home.level.tile.spawn_level.SpawnFloorTile;
import duaxe.home.level.tile.spawn_level.SpawnGrassTile;
import duaxe.home.level.tile.spawn_level.SpawnHedgeTile;
import duaxe.home.level.tile.spawn_level.SpawnWallTile;
import duaxe.home.level.tile.spawn_level.SpawnWaterTile;

public class Tile {
	public int x, y;
	public Sprite sprite;

	public static Tile grass = new GrassTile(Sprite.grass);
	public static Tile flower = new FlowerTile(Sprite.flower);
	public static Tile rock = new RockTile(Sprite.rock);
	public  static Tile voidTile = new  Voitile(Sprite.voidSprite);
	
	
	//spawn
	public static Tile spawn_grass = new SpawnGrassTile(Sprite.spawn_grass);
	public static Tile spawn_hedge = new SpawnHedgeTile(Sprite.spawn_hedge);
	public static Tile spawn_water = new SpawnWaterTile(Sprite.spawn_water);
	public static Tile spawn_wall1 = new SpawnWallTile(Sprite.spawn_walll);
	public static Tile spawn_wall2 = new SpawnWallTile(Sprite.spawn_wall2);
	public static Tile spawn_floor = new SpawnFloorTile(Sprite.spawn_floor);
	
	public static final int col_spawn_grass =0xff00ff00;
	public static final int col_spawn_wall1 =0xff808080;
	public static final int col_spawn_wall2 =0xff303030;
	public static final int col_spawn_floor =0xff724715;
	public static final int col_spawn = 0xff38eeff;
	
	public Tile(Sprite sprite){
		this.sprite = sprite;
	}
	public void render(int x, int y,Screen screen){
	}
	public boolean solid(){
		return false;
		
	}
}
